<?php    
    if(isset($arr_Duplicate))
    {
        $this->data =  $arr_Duplicate;      
    }
?>
<link rel="stylesheet" href="/css/admin.css" type="text/css" media="screen" />
<?php echo $this->Form->create("Menu"); ?>
<?php echo $this->element('message'); ?>
<table class="list">
    <thead>
        <tr>
            <td colspan="2">Chỉnh sửa menu</td>
        </tr>
    </thead>
    <tbody>
        <tr>
            <tr>
            <td class="text_input">
                Tên nhóm <span style="color: red">*</span>
            </td>
            <td class="input">
                <?php echo $this->Form->input( "tenmenu", array(							
                                                    "label" => false,
                                                    "type"  => "text",
                                                    "style" =>  "width:200px;",
                                                    "placeholder" => "Tên menu"
                                            ) ); ?>                 
            </td>
        </tr>
        <tr>
            <td class="text_input">
                Menu cha <span style="color: red">*</span>
            </td>
            <td class="input">
                <?php 
                    echo $this->Form->input('menucha', array(
                                'options' => $arr_Menu0,   
                                "label" => false,
                                'style' =>  'width:200px;',
                                'empty' => '-- Chọn menu cha --'
                            ));
                ?>                                 
            </td>
        </tr>
        <tr>
            <td class="text_input">
                Url
            </td>
            <td class="input">
                <?php echo $this->Form->input( "url", array(							
                                                    "label" => false,
                                                    "type"  => "text",
                                                    "style" =>  "width:200px;",
                                                    "placeholder" => "Url"
                                            ) ); ?>                 
            </td>
        </tr>
        <tr>
            <td class="text_input">
                Lớp
            </td>
            <td class="input">
                <?php echo $this->Form->input( "lop", array(							
                                                    "label" => false,
                                                    "type"  => "text",
                                                    "style" =>  "width:200px;",
                                                    "placeholder" => "Lớp"
                                            ) ); ?>                 
            </td>
        </tr>
        <tr>
            <td class="text_input">
                Mô tả
            </td>
            <td class="input">
                <?php echo $this->Form->input( "mota", array(							
                                                    "label" => false,
                                                    "type"  => "textarea",
                                                    "escape"  => false,
                                                    "rows" => "5", 
                                                    "cols" => "22"
                                            ) ); ?>
            </td>
        </tr>	
        <tr>
            <td class="txt_input">&nbsp;&nbsp;</td>
            <td class="input">
                <?php echo $this->Form->hidden('id'); ?>
                <input type="submit" class="button" value="Chỉnh sửa"/>
            </td>
        </tr>        
    </tbody>
</table>
<?php echo $this->Form->end(); ?>